#ifndef WIDGET_H
#define WIDGET_H

#include"form.h"

#include <QWidget>
#include <QTcpSocket>

namespace Ui {
class Widget;
}

class Widget : public QWidget
{
    Q_OBJECT

public:
    explicit Widget(QWidget *parent = 0);
    ~Widget();
    void InitClientWidget();


private slots:
    void on_reset_clicked();

    void on_login_clicked();

    void on_exit_clicked();
     void OnReadyRead();


private:
    Ui::Widget *ui;
    QTcpSocket *m_pSocket;
};

#endif // WIDGET_H
